home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
edit
/
ppd.zip
/
PHOME.PPD
< prev
next >
Wrap
Text File
|
1995-01-27
|
8KB
|
230 lines
begin comment
This PPD script (PHOME.PPD) will assist you in developing a simple,
personal home page for the World Wide Web.
end/
defaultusername=PPD User
defaultuseremail=user@ppd.org
defaultusereditor=c:\utils\qedit.exe
defaultpagetitle=Personal Page Designer Home Page
screenclear=
centerline=Welome to the Personal Page Designer (Ver 1.0)
begin display
The Personal Page Designer will help you design a personal {World Wide Web}
page without the difficulty of programming in the HTML or HTML+ languages.
You will be asked a series of questions and your replies will be the basis
upon which your home page is constructed.
{PPD} will {automatically} create an HTM page named {HOMEPAGE.HTM} for you. You
can then use this page on the Internet or as your own home page when running
your favorite WWW browser. {If a file by the name of HOMEPAGE.HTM already
exists in this directory it will be overwritten.}
You will need to use your favorite MSDOS text editor to create portions of
your home page. {PPD} will handle this for you if you {specify where your
editor is located}. For example, if your MSDOS editor is located in the
directory "C:\UTILS" and is named "QEDIT.EXE", you should specify your
editor as {"C:\UTILS\QEDIT.EXE"} (without the quotation marks). The editor
should also be able to be loaded with a filename as an argument.
end/
screencolor=white
input=Press [RETURN] to continue:
screencolor=lightgray
screenclear=
centerline=Checking Your Editor
blankline=
begin display
OK, let's give your editor a try.
At the next prompt enter the full path and name of your text editor.
{PPD} will then try to open your editor with the filename "TEST.INC".
Remember to enter the full path and filename, like:
{C:\UTILS\MYEDITOR.EXE}
If your editor happens to be {C:\UTILS\QEDIT.EXE} than all you need to do
is press [RETURN] at the next prompt; otherwise you will need to specify
your own editor's path and filename.
Here we go . . .
end/
blankline=
screencolor=white
usereditor=
screencolor=lightgray
edit=test.inc
screenclear=
centerline=Did Your Editor Load?
begin display
If everything worked OK you should have seen your text editor with the
filename {"TEST.INC"} as the file being edited. If that is what happened
you are on your way and you should answer {"Y"} to the next prompt.
If your text editor did not appear than you should press {"A"} at the next
prompt to cancel {PPD} operations until you can locate your text editor and
get it to run properly. The most likely problem is that you did not specify
the correct path and name of your text editor.
Once you locate your editor, try {PPD} again.
end/
blankline=
screencolor=white
confirm=Press "Y" to continue, "N" or "A" to cancel the program ?
screencolor=lightgray
forcefile=HOMEPAGE.HTM
screenclear=
centerline=Your Personal Information
blankline=
begin display
We will begin by gathering some personal information about you.
First you will need a {title} for your home page. Try to keep it short
and snappy so that browsers can remember it.
Your {name} will be used to identify you as the {Web Master} -- the owner
and operator of your home page, while your {E-Mail} address will be used
to allow others to contact you if you choose to put your home page on the
Internet or elsewhere.
end/
blankline=
screencolor=white
inputusername=
inputuseremail=
pagetitle=
screencolor=lightgray
writelinetofile=<html><body>
writelinetofile=<head><h1><img align=bottom src="home.gif"></a>
writelinetofile= [pagetitle$]</h1></head>
writelinetofile=<hr>
writelinetofile=<i>Your Web Master is [USERNAME$] - [USEREMAIL$]</i><br>
writelinetofile=<hr>
screenclear=
centerline=About Your Home Page
blankline=
begin display
You can now tell your users about your home page. It's a good idea to keep
this section {short and interesting}. Ten to fifteen lines would be best.
{PPD} will let you use your text editor to create this section in a file named
{"ABOUT.INC"}. When you have finished your home page you can always run {PPD}
again to make changes. As long as you do not delete the file {"ABOUT.INC"} it
will be available the next time you run {PPD}.
Here are a few tips on creating {special effects}:
If you want to highlight a word or phrase, begin the sequence with a {<b>} and
end it with a {</b>}. If you want to seperate lines or paragraphs in your text
just enter a blank line with your text editor. {PPD} will notice this and make
the necessary conversion.
end/
blankline=
screencolor=white
input=When you are ready to begin just hit [RETURN]
screencolor=lightgray
edit=about.inc
writelinetofile=<h3><img align=middle src="notice.gif"></a>
writelinetofile= About this page . . .</h3>
readfile=about.inc
writelinetofile=<hr>
screenclear=
centerline=What's New
blankline=
begin display
Now you can tell the user what is new on your home page. You will use the
editor just like you did in the last section.
Try to keep this section short and interesting also.
Your creation will be kept in the file {WHATSNEW.INC} is this directory in
case you want to change it later.
end/
blankline=
screencolor=white
input=When you are ready to begin just hit [RETURN]
screencolor=lightgray
edit=whatsnew.inc
writelinetofile=<h3><img align=middle src="newsicon.gif"></a>
writelinetofile= What's new . . .</h3>
readfile=whatsnew.inc
writelinetofile=<hr>
screenclear=
centerline=Other Web Hot Spots
blankline=
begin display
Now you will be able to offer your browsers a few interesting places to visit
on the World Wide Web.
We have provided a file named {PLACES.INC} which contains a few of the more
interesting spots to visit. This file is in the form of URLs -- addresses
your browsers can click to be sent off to that page.
You can add or delete lines from this file if you wish, just make sure you
know how to properly construct a URL before you add or change any lines.
If you are unsure, just save the file and the default URLs will be added to
your home page.
end/
blankline=
screencolor=white
input=When you are ready to begin just hit [RETURN]
screencolor=lightgray
edit=places.inc
writelinetofile=<h3>Other Web Hot Spots . . .</h3>
readfile=places.inc
writelinetofile=<hr>
writelinetofile=Page designed by: [USEREMAIL$] with the help of
writelinetofile=Personal Page Designer.
writelntofile</body></html>
screenclear=
centerline=You've Done It!
blankline=
begin display
Ok, your home page is now complete. You should move the file {HOMEPAGE.HTM}
to the default directory for your Web browser to view it. You may also want
to use this new home page on the Internet. To do so, you should upload this
page to your service provider and rename it to {HOMEPAGE.HTML}.
We hope you found using {Personal Page Designer} simple and fun. If you are
interested in other scripts for use with {PPD}, or you would like to learn
more about {PPD} and its scripting capabilities, please contact us at:
{ Satore Township
P.O. Box 750836
Petaluma, CA 94975-0836
Our Web Page -> ftp://ftp.crl.com/ftp/users/ro/mikekell/html/satore.htm
Our FTP Site -> ftp.crl.com/ftp/users/ro/mikekell/ftp}
end/
input=Press [RETURN] to return to your operating system:
screencolor=lightgray
screenclear=
endfile=